<html>
<head>
    <title>Laporan Formulir</title>
</head>
<style type="text/css" media="all">
*{margin:0px; padding:0px;}
#content{
	width:800px; font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	border:1px solid #999;
	padding:10px;
}
#header{
	height:100px;	
}
table{border-collapse:collapse;}
</style>
<body>
<div id="content">
<table>
    <tr>
        <td width="150px" colspan="3">
        	<img src="<?php echo themeUrl(); ?>images/logo.png" align="left" height="70px" />
        </td>
        <td width="100px"></td>
        <td width="150px" colspan="3">DEBIT DATA INVOICE</td>
    </tr>
    <tr>
        <td width="150px" colspan="3">No. XXXXXXXXXXXXX</td>
        <td width="100px"></td>
        <td width="150px">Date</td>
        <td>: </td>
        <td width="150px"><?php echo myDate($val->tgl_entry,"d M Y");?></td>
    </tr>
    <tr><td colspan="7" style="border-bottom:1px solid #666;"></td></tr>
    <tr>
        <td width="150px">Nama Principal</td>
        <td>: </td>
        <td width="250px"><?php echo $val->form_principal_name;?></td>
        <td width="100px"></td>
        <td width="150px">No. Bank Garansi </td>
        <td>: </td>
        <td width="150px"><?php echo $val->form_no_bank_garansi;?></td>
    </tr>
    <tr>
        <td width="150px">Alamat</td>
        <td>: </td>
        <td width="250px" rowspan="4" valign="top"><?php echo $val->form_principal_address;?></td>
        <td width="100px"></td>
        <td width="150px">Jenis Bank Garansi</td>
        <td>: </td>
        <td width="150px"><?php echo $val->form_bank_garansi_type;?></td>
    </tr>
    <tr valign="top">
        <td width="150px"></td>
        <td></td>
        <td width="100px"></td>
        <td width="150px">Jangka Waktu</td>
        <td>: </td>
        <td width="150px"><?php echo myDate($val->form_start_date,"d M Y");?> s.d  <?php echo myDate($val->form_end_date,"d M Y");?></td>
    </tr>
    <tr>
        <td width="150px"></td>
        <td></td>
        <td width="100px"></td>
        <td width="150px">Bank Penerbit</td>
        <td>: </td>
        <td width="150px"><?php echo getBankName($val->form_bank_penerbit);?></td>
    </tr>
    <tr>
        <td width="150px"></td>
        <td></td>
        <td width="100px"></td>
        <td width="150px">Marketing</td>
        <td>: </td>
        <td width="150px"><?php echo $val->marketing_name;?></td>
    </tr>
</table>
</div>
</body>
</html>